<template>
  <a-result status="500" title="状态码 500 , 对不起,服务器出现了点问题! 请稍后再试" sub-title="Sorry, the server is wrong.">
    <template #extra>
      <a-button type="primary" @click="toHome">
        返回首页
      </a-button>
    </template>
  </a-result>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    toHome() {
      location.href = '/'
    }
  }
};
</script>